#include <stdio.h>

#define MAXSIZE 100

int main() {
	setbuf(stdout, NULL);

	// NOTE: Variable declaration
	char str[MAXSIZE + 1];
	int sum = 0;
	int sum_transpose = 0;

	// NOTE: Inputs
	gets(str);

	// NOTE: Process
	for (int i = 0; i < MAXSIZE && str[i] != '\0'; ++i) {
		sum = sum + str[i] - '0';
	}

	// NOTE: Outputs
	// // REVIEW: 用于临时测试十进制数位和是否正确，如果正确再转拼音
	// printf("%d",sum);

	// STEP: 将数位和的各位进行转置
	while (sum != 0) {
		sum_transpose *= 10;
		sum_transpose = sum_transpose + sum % 10;
		sum /= 10;
	}

	// STEP: 将数位和的各位转义为对应拼音
	while (sum_transpose != 0) {
		switch (sum_transpose % 10) {
			case 0:
				printf("ling");
				break;
			case 1:
				printf("yi");
				break;
			case 2:
				printf("er");
				break;
			case 3:
				printf("san");
				break;
			case 4:
				printf("si");
				break;
			case 5:
				printf("wu");
				break;
			case 6:
				printf("liu");
				break;
			case 7:
				printf("qi");
				break;
			case 8:
				printf("ba");
				break;
			case 9:
				printf("jiu");
		}

		// STEP: 用空格分割每个拼音
		if ((sum_transpose / 10) != 0) {
			printf(" ");
		}

		// STEP:
		sum_transpose /= 10;
	}


	// NOTE: Ending
	return 0;
}